/* ==========================================================================
   DESIGN SYSTEM & STYLESHEET - DOCTOR ONBOARDING TEMPLATE
   ========================================================================== */

:root {
  /* HSL & Primary Color Palette */
  --color-teal: #2A6F6D;
  --color-teal-rgb: 42, 111, 109;
  --color-light-teal: #E0F2F1;
  --color-sage: #A5C8CA;
  --color-ivory: #FAF9F6;
  --color-gold: #D4AF37;
  --color-indigo: #1F2937;
  --color-indigo-rgb: 31, 41, 55;
  --color-text: #334155;
  --color-bg: #FCFCFA;
  --color-white: #ffffff;

  /* Fonts */
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "DM Sans", sans-serif;

  /* Shadows */
  --shadow-soft: 0 4px 20px -2px rgba(42, 111, 109, 0.08);
  --shadow-glow: 0 0 15px rgba(42, 111, 109, 0.2);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* RESET & BASICS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--color-teal);
  color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-indigo);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-ivory);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden {
  display: none !important;
}

.gradient-text {
  color: var(--color-teal);
}

/* Glassmorphism utility */
.glass {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition-slow);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px -2px rgba(31, 41, 55, 0.05);
  border-bottom: 1px solid rgba(42, 111, 109, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.nav-brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.nav-brand:hover .nav-brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-logo {
  transform: scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-teal);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-top: 0.15rem;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-teal);
}

.btn-appointment {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 0.48rem 1.05rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(42, 111, 109, 0.25);
  transition: var(--transition-bounce);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-appointment:hover {
  background-color: var(--color-indigo);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 41, 55, 0.3);
}

@media (max-width: 1280px) {
  .nav-menu {
    gap: 0.9rem;
  }

  .nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }

  .btn-appointment {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-indigo);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-drawer {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-150%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
}

.mobile-drawer.active {
  transform: translateY(0);
}

.drawer-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1rem;
}

.drawer-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-indigo);
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding-top: 6.25rem;
  padding-bottom: 3rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.hero-bg-gradients {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gradient-radial {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(226, 232, 240, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.badge-promo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(42, 111, 109, 0.07);
  color: var(--color-teal);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(42, 111, 109, 0.15);
}

.animate-pulse-slow {
  animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(42, 111, 109, 0.18);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(42, 111, 109, 0);
  }
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-teal);
  border-radius: 50%;
}

.hero-title {
  font-size: 2.35rem;
  line-height: 1.24;
  margin-bottom: 1rem;
  color: var(--color-indigo);
}

.typewriter-text {
  display: inline;
  white-space: normal;
}

.typewriter-text::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 0.2ch;
  background-color: var(--color-teal);
  animation: blink-caret 1s steps(1) infinite;
  vertical-align: -0.05em;
}

.typewriter-text.typing-done::after {
  display: none;
}

@keyframes blink-caret {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-desc.fade-in-after-type,
.hero-buttons.fade-in-after-type,
.hero-quick-stats.fade-in-after-type {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-desc.fade-in-after-type.visible,
.hero-buttons.fade-in-after-type.visible,
.hero-quick-stats.fade-in-after-type.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.5rem;
  max-width: 98%;
}

/* Base Scroll Reveal Classes & System */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed,
.scroll-reveal.active,
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delay Utilities */
.delay-100 {
  transition-delay: 0.1s !important;
}

.delay-150 {
  transition-delay: 0.15s !important;
}

.delay-200 {
  transition-delay: 0.2s !important;
}

.delay-250 {
  transition-delay: 0.25s !important;
}

.delay-300 {
  transition-delay: 0.3s !important;
}

.delay-350 {
  transition-delay: 0.35s !important;
}

.delay-400 {
  transition-delay: 0.4s !important;
}

/* Signature Floating Pills Entrance Animations */
.signature-floating-pill {
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.signature-floating-pill.pill-slide-left {
  transform: translateX(-35px) translateY(12px);
}

.signature-floating-pill.pill-slide-right {
  transform: translateX(35px) translateY(12px);
}

.signature-floating-pill.pill-revealed,
.signature-floating-pill.revealed,
.signature-floating-pill.active {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(42, 111, 109, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-indigo);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  border: 2px solid #cbd5e1;
  color: var(--color-indigo);
  font-weight: 600;
}

.btn-secondary:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* Quick Stats (Clean Single-Line Alignment) */
.hero-quick-stats {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-width: 0;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-indigo);
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #8a99ad;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
  white-space: nowrap;
}

/* HERO VISUAL */
/* HERO VISUAL POP-UP ENTRANCE */
.hero-visual {
  position: relative;
  max-width: 440px;
  width: 100%;
  margin: 0 0 0 auto;
  justify-self: end;
  animation: hero-image-pop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
  will-change: transform, opacity;
}

@keyframes hero-image-pop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.image-wrapper {
  position: relative;
  max-width: 440px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--color-white);
  background-color: var(--color-white);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.image-wrapper:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 28px 55px -10px rgba(42, 111, 109, 0.28);
}

.doctor-portrait {
  width: 100%;
  height: auto;
  min-height: 420px;
  max-height: 520px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background-color: #f8fafc;
}

.floating-badge-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.35s ease;
}

.image-wrapper:hover .floating-badge-card {
  transform: translateY(-2px);
}

.badge-icon-wrapper {
  width: 42px;
  height: 42px;
  background-color: var(--color-light-teal);
  color: var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-indigo);
}

.badge-card-desc {
  font-size: 0.75rem;
  color: #64748b;
}

/* SECTIONS COMMON */
.section {
  padding: 5rem 0;
}

/* CLINICAL EXCELLENCE & SPECIAL CARE DUO SECTION */
.clinical-excellence-section {
  background-color: var(--color-bg);
  padding: 4.5rem 0;
}

.clinical-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.duo-card {
  background: var(--color-white);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.duo-card.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.duo-card.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.duo-card.scroll-reveal.revealed:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-sage);
}

/* Staggered slide-in from bottom for card contents */
.duo-card.scroll-reveal .duo-card-header,
.duo-card.scroll-reveal .duo-card-desc,
.duo-card.scroll-reveal .duo-feature-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.duo-card.scroll-reveal.revealed .duo-card-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.duo-card.scroll-reveal.revealed .duo-card-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.24s;
}

.duo-card.scroll-reveal.revealed .duo-feature-item:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.36s;
}

.duo-card.scroll-reveal.revealed .duo-feature-item:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.48s;
}

.duo-card.scroll-reveal.revealed .duo-feature-item:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.60s;
}

/* Second card staggered wave */
.clinical-duo-grid .duo-card:nth-child(2).scroll-reveal {
  transition-delay: 0.12s;
}

.clinical-duo-grid .duo-card:nth-child(2).scroll-reveal.revealed .duo-card-header {
  transition-delay: 0.22s;
}

.clinical-duo-grid .duo-card:nth-child(2).scroll-reveal.revealed .duo-card-desc {
  transition-delay: 0.34s;
}

.clinical-duo-grid .duo-card:nth-child(2).scroll-reveal.revealed .duo-feature-item:nth-child(1) {
  transition-delay: 0.46s;
}

.clinical-duo-grid .duo-card:nth-child(2).scroll-reveal.revealed .duo-feature-item:nth-child(2) {
  transition-delay: 0.58s;
}

.clinical-duo-grid .duo-card:nth-child(2).scroll-reveal.revealed .duo-feature-item:nth-child(3) {
  transition-delay: 0.70s;
}

.duo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-sage);
}

.duo-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.duo-card-icon {
  width: 52px;
  height: 52px;
  background-color: var(--color-light-teal);
  color: var(--color-teal);
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.duo-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-indigo);
  line-height: 1.3;
}

.duo-card-desc {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.duo-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.duo-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #334155;
}

.duo-feature-item i {
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ACADEMIC MILESTONES & PRACTICE & REGISTRATION SECTION */
.milestones-dark-card {
  background: #0d2826;
  border-radius: 28px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.25);
  margin: 0 auto;
}

.milestones-section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.milestones-section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5eead4;
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.25);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.milestones-section-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.milestones-awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  width: 100%;
}

.milestones-card-wrapper,
.awards-card-wrapper {
  position: relative;
  background: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 2.25rem 2.25rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.timeline-heading {
  margin-top: 0;
  margin-bottom: 1.75rem;
  font-size: 1.35rem;
  font-family: var(--font-serif);
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.timeline-heading .text-gold,
.timeline-heading i {
  color: #d97706;
}

/* Timeline Components (Matching Reference Screenshot - Shalini Style) */
.timeline-wrapper {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(42, 111, 109, 0.2);
  margin-left: 0.85rem;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: -2px;
  top: var(--timeline-line-top, calc(0.25rem + 9px));
  width: 2px;
  height: var(--timeline-progress-height, 0);
  background-color: var(--color-teal);
  transform-origin: top;
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.25rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.625rem;
  top: 0.25rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-teal);
  border: 4px solid var(--color-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: scale(0.6);
  opacity: 0.4;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.active .timeline-marker {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 0 0 12px rgba(42, 111, 109, 0.08), 0 4px 12px rgba(42, 111, 109, 0.15);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.15);
  box-shadow: 0 0 0 14px rgba(42, 111, 109, 0.14), 0 6px 18px rgba(42, 111, 109, 0.25);
}

.timeline-content-card {
  display: flex;
  flex-direction: column;
  background: transparent !important;
  padding: 0.25rem 0 !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.3s ease !important;
}

.timeline-content-card>* {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.active .timeline-content-card>* {
  opacity: 1;
  transform: translateX(0);
}

.timeline-content-card>*:nth-child(1) {
  transition-delay: 0.06s;
}

.timeline-content-card>*:nth-child(2) {
  transition-delay: 0.14s;
}

.timeline-content-card>*:nth-child(3) {
  transition-delay: 0.22s;
}

.timeline-content-card>*:nth-child(4) {
  transition-delay: 0.30s;
}

.timeline-content-card:hover {
  transform: translateX(4px) !important;
}

.timeline-content-card:hover {
  transform: translateX(4px) !important;
}

.timeline-meta-tag {
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  display: block;
}

.timeline-card-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--color-indigo);
  font-family: var(--font-serif);
  line-height: 1.35;
  margin: 0;
}

.timeline-card-loc {
  font-size: 0.9375rem;
  color: #475569;
  margin-top: 0.25rem;
  margin-bottom: 0.15rem;
  line-height: 1.45;
}

.badge-award-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.05));
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.75rem;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

.timeline-content-card:hover .badge-award-mini {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.1));
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

.award-mini-icon {
  width: 13px;
  height: 13px;
}

/* Practice & Registration Cards */
.practice-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.award-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: #ffffff;
  border: 1.5px solid #edf2f7;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.award-card.revealed {
  opacity: 1;
  transform: translateX(0);
}

.award-card:hover {
  transform: translateY(-4px) translateX(6px) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(224, 242, 241, 0.55));
  border-color: var(--color-teal);
  box-shadow: 0 10px 28px rgba(42, 111, 109, 0.14), 0 0 18px rgba(212, 175, 55, 0.2);
}

.award-card .award-icon-box-premium {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.award-card:hover .award-icon-box-premium {
  transform: scale(1.15) rotate(6deg);
}

.award-icon-box-premium.teal {
  background: #e6f7f5;
  color: #0d9488;
}

.award-icon-box-premium.gold {
  background: #fef9c3;
  color: #ca8a04;
}

.award-icon-box-premium.indigo {
  background: #ede9fe;
  color: #7c3aed;
}

.award-icon-box-premium.purple {
  background: #f3e8ff;
  color: #9333ea;
}

.award-icon-box-premium.rose {
  background: #ffe4e6;
  color: #e11d48;
}

.award-icon-box-premium i {
  width: 22px;
  height: 22px;
}

.award-card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.award-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  font-family: var(--font-serif);
  line-height: 1.35;
}

.award-card-desc {
  margin: 0.25rem 0 0 0;
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.4;
}

.reg-badge-tag {
  display: inline-block;
  background: #e6f7f5;
  color: #0f766e;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #99f6e4;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .milestones-dark-card {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
  }

  .milestones-awards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .milestones-card-wrapper,
  .awards-card-wrapper {
    padding: 1.5rem 1.25rem !important;
  }
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  color: var(--color-indigo);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: #64748b;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bio-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 1.25rem;
}

.bio-text {
  color: #475569;
  margin-bottom: 1rem;
}

.qualifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.qual-card {
  background: var(--color-white);
  padding: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid #f1f5f9;
}

.qual-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-indigo);
}

.qual-subtitle {
  font-size: 0.8rem;
  color: #64748b;
}

/* EXPERTISE & SERVICES GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card-service {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  border: 1px solid #f1f5f9;
  transition: var(--transition-smooth);
}

.card-service:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-sage);
}

/* Spring slide-in used by the treatment cards on the Mounika page. */
.expertise-card {
  transition: transform 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.35),
    opacity 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.35),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
  will-change: transform, opacity;
}

/* Areas of Expertise Sliding Card Animations */
.expertise-card {
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.3, 1),
    opacity 0.85s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease !important;
}

/* Entry slide variations before user scrolls into view */
.expertise-card.slide-from-left {
  transform: translate3d(-140px, 20px, 0) scale(0.92);
}

.expertise-card.slide-from-bottom {
  transform: translate3d(0, 80px, 0) scale(0.92);
}

.expertise-card.slide-from-right {
  transform: translate3d(140px, 20px, 0) scale(0.92);
}

/* Revealed state as user scrolls down to this section */
.expertise-card.revealed,
.expertise-card.active,
.expertise-card.is-visible,
.expertise-card.card-slide-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

.expertise-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px -10px rgba(42, 111, 109, 0.22), 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  border-color: var(--color-teal) !important;
}

.expertise-card>* {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-card.revealed>*,
.expertise-card.active>*,
.expertise-card.is-visible>*,
.expertise-card.card-slide-revealed>* {
  opacity: 1;
  transform: translateY(0);
}

.expertise-card.revealed>*,
.expertise-card.active>*,
.expertise-card.is-visible>* {
  opacity: 1;
  transform: translateY(0);
}

.expertise-card>*:nth-child(1) {
  transition-delay: 0.1s;
}

.expertise-card>*:nth-child(2) {
  transition-delay: 0.18s;
}

.expertise-card>*:nth-child(3) {
  transition-delay: 0.26s;
}

.card-icon {
  width: 52px;
  height: 52px;
  background-color: var(--color-light-teal);
  color: var(--color-teal);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

/* REVIEWS & TESTIMONIALS */
.reviews-section {
  background-color: var(--color-ivory);
}

.review-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #fbbf24;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.review-quote {
  font-style: italic;
  color: #334155;
  margin-bottom: 1.5rem;
}

.reviewer-name {
  font-weight: 700;
  color: var(--color-indigo);
  font-size: 0.95rem;
}

.reviewer-tag {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* FAQ ACCORDION */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-white);
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  color: var(--color-indigo);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: #475569;
  display: none;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* CONTACT & APPOINTMENT FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info-card {
  background: var(--color-indigo);
  color: var(--color-white);
  padding: 3rem;
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  color: var(--color-sage);
}

.appointment-form-box {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-indigo);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(42, 111, 109, 0.15);
}

/* TREATMENT & SURGICAL PRECISION SECTION */
.precision-section {
  background-color: var(--color-ivory);
  padding: 5rem 0;
}

.precision-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.treatment-image-wrapper {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--color-white);
  background-color: var(--color-white);
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-image-wrapper.scroll-reveal {
  opacity: 0;
  transform: translateY(35px) scale(0.97);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.treatment-image-wrapper.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.treatment-image-wrapper.scroll-reveal.revealed:hover {
  transform: translateY(-5px) scale(1);
  box-shadow: 0 25px 50px -12px rgba(42, 111, 109, 0.22);
}

.treatment-image {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  display: block;
  border-radius: calc(1.75rem - 6px);
}

.precision-content {
  display: flex;
  flex-direction: column;
}

/* Precision Content Scroll Reveal and Staggering */
.precision-content.scroll-reveal .section-tag,
.precision-content.scroll-reveal .precision-title,
.precision-content.scroll-reveal .precision-desc,
.precision-content.scroll-reveal .precision-feature-card {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.precision-content.scroll-reveal.revealed .section-tag {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.precision-content.scroll-reveal.revealed .precision-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.precision-content.scroll-reveal.revealed .precision-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.32s;
}

.precision-content.scroll-reveal.revealed .precision-feature-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.44s;
}

.precision-content.scroll-reveal.revealed .precision-feature-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.54s;
}

.precision-content.scroll-reveal.revealed .precision-feature-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.64s;
}

.precision-content.scroll-reveal.revealed .precision-feature-card:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.74s;
}

.precision-title {
  font-size: 2.25rem;
  color: var(--color-indigo);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.precision-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.precision-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.precision-feature-card {
  background: var(--color-white);
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  border: 1px solid #e2e8f0;
  transition: var(--transition-smooth);
}

.precision-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-sage);
  box-shadow: var(--shadow-lg);
}

.precision-feature-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.precision-feature-icon {
  color: var(--color-teal);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.precision-feature-title {
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--color-indigo);
}

.precision-feature-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

/* ADVANCED SURGICAL & AESTHETIC TRAINING SECTION */
.training-section {
  padding: 5rem 0;
  background-color: var(--color-bg);
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

.training-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(42, 111, 109, 0.15);
  border-radius: 20px;
  padding: 2.25rem 2.25rem 2.25rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    background 0.45s ease;
  overflow: hidden;
}

.training-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold), var(--color-sage));
  opacity: 0.85;
  transition: height 0.35s ease, opacity 0.35s ease;
}

.training-card:hover::before {
  height: 6px;
  opacity: 1;
}

.training-card-icon-box {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(42, 111, 109, 0.1), rgba(212, 175, 55, 0.12));
  border: 1.5px solid rgba(42, 111, 109, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35),
    background 0.4s ease,
    border-color 0.4s ease,
    color 0.4s ease,
    box-shadow 0.4s ease;
}

.training-card-icon-box svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
  transition: transform 0.4s ease, stroke 0.4s ease;
}

.training-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.training-category {
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.09);
  border: 1px solid rgba(212, 175, 55, 0.22);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
  display: inline-block;
  align-self: flex-start;
}

.training-card-title {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--color-indigo);
  line-height: 1.3;
  margin-bottom: 0.65rem;
  transition: color 0.35s ease;
}

.training-card-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.15rem;
  transition: color 0.35s ease;
}

.training-badge-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-teal);
  background: #ffffff;
  border: 1.5px solid rgba(42, 111, 109, 0.18);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35),
    background 0.4s ease,
    border-color 0.4s ease,
    color 0.4s ease,
    box-shadow 0.4s ease;
}

.training-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: var(--color-teal);
  box-shadow: 0 20px 42px rgba(42, 111, 109, 0.15), 0 0 20px rgba(212, 175, 55, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
}

.training-card:hover .training-card-icon-box {
  transform: scale(1.18) rotate(-6deg);
  background: var(--color-teal);
  color: #ffffff;
  border-color: var(--color-teal);
  box-shadow: 0 8px 22px rgba(42, 111, 109, 0.3);
}

.training-card:hover .training-card-icon-box svg {
  stroke: #ffffff;
}

.training-card:hover .training-card-title {
  color: var(--color-teal);
}

.training-card:hover .training-badge-pill {
  background: var(--color-teal) !important;
  color: #ffffff !important;
  border-color: var(--color-teal) !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 16px rgba(42, 111, 109, 0.28) !important;
}

/* Slide Entry Animations */
.training-card.training-slide-left {
  opacity: 0;
  transform: translate3d(-180px, 30px, 0) rotate(-4deg) scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.25), transform 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.25);
}

.training-card.training-slide-right {
  opacity: 0;
  transform: translate3d(180px, 30px, 0) rotate(4deg) scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.25), transform 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.25);
}

.training-card.revealed,
.training-card.active {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

/* SIGNATURE TREATMENTS & PILL CLOUD SECTION */
.signature-treatments-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, rgba(224, 242, 241, 0.45), rgba(245, 252, 251, 0.85));
}

.signature-pill-cloud {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.5rem;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.signature-floating-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  background: #ffffff;
  border: 1.5px solid rgba(42, 111, 109, 0.2);
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-teal);
  cursor: pointer;
  will-change: transform, opacity;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.75s ease-out,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease;
}

.signature-floating-pill:hover {
  background: var(--color-teal) !important;
  color: #ffffff !important;
  border-color: var(--color-teal) !important;
  transform: translateY(-4px) scale(1.04) !important;
  box-shadow: 0 10px 26px rgba(42, 111, 109, 0.25) !important;
}

.signature-floating-pill:not(.pill-revealed) {
  opacity: 0 !important;
  transform: translate3d(-140px, 20px, 0) !important;
}

.signature-floating-pill.pill-slide-left:not(.pill-revealed) {
  opacity: 0 !important;
  transform: translate3d(-180px, 0, 0) !important;
}

.signature-floating-pill.pill-slide-right:not(.pill-revealed) {
  opacity: 0 !important;
  transform: translate3d(180px, 0, 0) !important;
}

.signature-floating-pill.pill-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

/* EXPERTISE INTRO BANNER */
.expertise-intro-banner {
  background: linear-gradient(135deg, rgba(42, 111, 109, 0.06), rgba(165, 200, 202, 0.12));
  border: 1px solid rgba(42, 111, 109, 0.15);
  border-radius: 16px;
  padding: 1.75rem 2.25rem;
  margin-bottom: 3rem;
}

.expertise-intro-banner p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-indigo);
  margin: 0;
}

/* ==========================================================================
   DOCTOR CREDENTIALS & STATS SECTION (SHALINI PAGE STYLE)
   ========================================================================== */
.stats-section {
  position: relative;
  background-color: var(--color-indigo);
  color: var(--color-white);
  padding: 5.5rem 0;
  overflow: hidden;
}

.stats-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stats-pattern-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.2;
}

.stats-blob-teal {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 380px;
  height: 380px;
  background-color: var(--color-teal);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}

.stats-blob-gold {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 380px;
  height: 380px;
  background-color: var(--color-gold);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.stat-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.25rem 1.5rem;
  border-radius: 1.25rem;
  text-align: center;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.45s ease,
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.45s ease !important;
}

.stat-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* Randomized spring motion used by the stats cards on the Mounika page. */
.stat-card.global-card-motion-1:not(.active),
.stat-card.global-card-motion-2:not(.active),
.stat-card.global-card-motion-3:not(.active),
.stat-card.global-card-motion-4:not(.active),
.stat-card.global-card-motion-5:not(.active),
.stat-card.global-card-motion-6:not(.active),
.stat-card.global-card-motion-7:not(.active),
.stat-card.global-card-motion-8:not(.active) {
  opacity: 0;
}

.stat-card.global-card-motion-1,
.stat-card.global-card-motion-2,
.stat-card.global-card-motion-3,
.stat-card.global-card-motion-4,
.stat-card.global-card-motion-5,
.stat-card.global-card-motion-6,
.stat-card.global-card-motion-7,
.stat-card.global-card-motion-8 {
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.75s ease,
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.45s ease !important;
  will-change: transform, opacity;
}

.stat-card.global-card-motion-1 {
  transform: translate3d(-240px, 120px, 0) scale(0.6) rotate(-15deg);
}

.stat-card.global-card-motion-2 {
  transform: translate3d(240px, -130px, 0) scale(0.65) rotate(16deg);
}

.stat-card.global-card-motion-3 {
  transform: translate3d(-160px, -180px, 0) scale(0.7) rotate(-12deg);
}

.stat-card.global-card-motion-4 {
  transform: translate3d(170px, 190px, 0) scale(0.55) rotate(14deg);
}

.stat-card.global-card-motion-5 {
  transform: translate3d(0, 240px, 0) scale(0.5) rotate(-20deg);
}

.stat-card.global-card-motion-6 {
  transform: translate3d(0, -220px, 0) scale(0.6) rotate(18deg);
}

.stat-card.global-card-motion-7 {
  transform: translate3d(-200px, 0, 0) scale(0.65) rotate(-10deg);
}

.stat-card.global-card-motion-8 {
  transform: translate3d(220px, 0, 0) scale(0.6) rotate(12deg);
}

.stat-card.card-slide-revealed {
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg) !important;
  opacity: 1 !important;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.03) 30%,
      rgba(255, 255, 255, 0.25) 50%,
      rgba(255, 255, 255, 0.03) 70%,
      transparent 100%);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 2;
}

.stat-card:hover::before {
  left: 150%;
}

.stat-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(42, 111, 109, 0.25));
  border-color: rgba(165, 200, 202, 0.6) !important;
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 0 20px 40px -10px rgba(42, 111, 109, 0.45),
    0 0 25px rgba(212, 175, 55, 0.25) !important;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s ease;
}

.stat-card:hover .stat-number {
  transform: scale(1.06);
  background: linear-gradient(135deg, #ffffff 30%, #a5c8ca 70%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-meta-label {
  color: var(--color-sage);
  font-size: 1.05rem;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.stat-card:hover .stat-meta-label {
  color: #ffffff;
  border-color: rgba(165, 200, 202, 0.4);
}

.stat-meta-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.4rem;
  margin-bottom: 0;
  transition: color 0.4s ease;
}

.stat-card:hover .stat-meta-sub {
  color: var(--color-gold);
}

/* ==========================================================================
   SERVICES OFFERED: MASTER-DETAIL INTERACTIVE UI (SHALINI REDDY STYLE)
   ========================================================================== */
.services-section {
  position: relative;
  padding: 5.5rem 0;
  background-color: var(--color-ivory, #FAF9F6);
  overflow: hidden;
}

/* Ambient Radial Glow Blobs */
.services-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(42, 111, 109, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.services-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.services-section .container {
  position: relative;
  z-index: 1;
}

.services-ui-wrapper {
  position: relative;
  width: 100%;
}

/* Main 2-Column Container */
.master-detail-container {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 2.25rem;
  align-items: stretch;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .master-detail-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Left Column: Master Sidebar Card
   -------------------------------------------------------------------------- */
.master-sidebar-card {
  background: #ffffff;
  border: 1.5px solid rgba(42, 111, 109, 0.18);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 730px;
  min-height: 730px;
  max-height: 730px;
  box-sizing: border-box;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.master-sidebar-card:hover {
  box-shadow: 0 16px 45px rgba(42, 111, 109, 0.12);
}

.sidebar-header-box {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(42, 111, 109, 0.12);
  flex-shrink: 0;
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-indigo, #1F2937);
  margin-bottom: 0.65rem;
}

.sidebar-search-wrapper {
  position: relative;
  width: 100%;
}

.sidebar-search-wrapper .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.sidebar-search-wrapper input:focus+.search-icon,
.sidebar-search-wrapper input:not(:placeholder-shown)+.search-icon {
  color: var(--color-teal, #2A6F6D);
  transform: translateY(-50%) scale(1.15);
}

.sidebar-search-wrapper input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.5rem;
  border-radius: 14px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.sidebar-search-wrapper input:focus {
  border-color: var(--color-teal, #2A6F6D);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(42, 111, 109, 0.14);
}

/* Master Scrollable List */
.master-scroll-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-teal, #2A6F6D) #f1f5f9;
}

.master-scroll-list::-webkit-scrollbar {
  width: 5px;
}

.master-scroll-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 6px;
}

.master-scroll-list::-webkit-scrollbar-thumb {
  background: var(--color-teal, #2A6F6D);
  border-radius: 6px;
}

.master-scroll-list::-webkit-scrollbar-thumb:hover {
  background: #1b4f4d;
}

/* Master Item Rows (Live Staggered Slide In) */
.master-item-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.72rem 1rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1.5px solid rgba(42, 111, 109, 0.08);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.master-item-row.slide-row-left {
  animation: slideRowSmoothLeft 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.master-item-row.slide-row-right {
  animation: slideRowSmoothRight 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideRowSmoothLeft {
  0% {
    opacity: 0;
    visibility: visible;
    transform: translate3d(-35px, 0, 0);
  }

  100% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideRowSmoothRight {
  0% {
    opacity: 0;
    visibility: visible;
    transform: translate3d(35px, 0, 0);
  }

  100% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
}

.master-item-row:hover {
  background: #ffffff;
  border-color: rgba(42, 111, 109, 0.3);
  transform: translateX(6px);
  box-shadow: 0 4px 15px rgba(42, 111, 109, 0.08);
}

.master-item-row.active {
  background: linear-gradient(135deg, rgba(42, 111, 109, 0.12) 0%, rgba(212, 175, 55, 0.08) 100%);
  border-color: var(--color-teal, #2A6F6D);
  box-shadow: 0 6px 18px rgba(42, 111, 109, 0.15);
  transform: translateX(8px);
}

.master-item-row .item-num-badge {
  background: #94a3b8;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.28s ease;
}

.master-item-row:hover .item-num-badge,
.master-item-row.active .item-num-badge {
  background: var(--color-teal, #2A6F6D);
  box-shadow: 0 0 10px rgba(42, 111, 109, 0.45);
  transform: scale(1.1);
}

.master-item-row .item-title-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  flex: 1;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.master-item-row:hover .item-title-text {
  color: var(--color-teal, #2A6F6D);
}

.master-item-row.active .item-title-text {
  color: var(--color-indigo, #1F2937);
  font-weight: 800;
}

.master-item-row .item-chevron {
  color: #cbd5e1;
  font-size: 0.8rem;
  transition: all 0.28s ease;
}

.master-item-row:hover .item-chevron {
  color: var(--color-teal, #2A6F6D);
  transform: translateX(3px);
}

.master-item-row.active .item-chevron {
  color: var(--color-teal, #2A6F6D);
  transform: translateX(5px) scale(1.2);
}

/* --------------------------------------------------------------------------
   Right Column: Detail Panel Card
   -------------------------------------------------------------------------- */
.detail-panel-card {
  background: #ffffff;
  border: 1.5px solid rgba(42, 111, 109, 0.18);
  border-radius: 22px;
  padding: 2rem 2.25rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  height: 730px;
  min-height: 730px;
  max-height: 730px;
  box-sizing: border-box;
  display: block;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
.detail-panel-card::-webkit-scrollbar {
  width: 6px;
}

.detail-panel-card::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
  margin: 10px 0;
}

.detail-panel-card::-webkit-scrollbar-thumb {
  background: var(--color-teal, #2A6F6D);
  border-radius: 10px;
}

.detail-panel-card::-webkit-scrollbar-thumb:hover {
  background: #1b4f4d;
}

/* Detail Card Entrance Animation */
.detail-panel-card.slide-in-detail {
  animation: detailCardEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes detailCardEntrance {
  0% {
    opacity: 0.7;
    transform: scale(0.99);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Detail Hero Banner - Spacious, unclipped layout */
.banner-slide-in {
  opacity: 0;
  animation: detailBannerSlide 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes detailBannerSlide {
  0% {
    opacity: 0;
    transform: translateY(-24px) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.detail-hero-banner {
  background: linear-gradient(135deg, rgba(42, 111, 109, 0.12) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1.5px solid rgba(42, 111, 109, 0.2);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  min-height: 110px;
  width: 100%;
  box-sizing: border-box;
}

.detail-hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.7s ease;
}

.detail-hero-banner:hover::before {
  left: 140%;
}

.detail-banner-info {
  flex: 1 1 auto;
  min-width: 0;
}

.detail-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-teal, #2A6F6D);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0.32rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(42, 111, 109, 0.25);
  white-space: nowrap;
}

.detail-banner-title {
  font-size: 1.55rem;
  font-weight: 850;
  color: var(--color-indigo, #1F2937);
  margin: 0;
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: break-word;
}

.detail-banner-icon {
  width: 68px;
  height: 68px;
  min-width: 68px;
  min-height: 68px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(42, 111, 109, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-teal, #2A6F6D);
  flex-shrink: 0;
  animation: floatIcon 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.detail-banner-icon:hover {
  transform: scale(1.1) rotate(5deg) !important;
}

/* Quick Metrics Bar */
.detail-quick-metrics {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.quick-metric-pill.pill-slide-in {
  opacity: 0;
  animation: metricPillSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes metricPillSlide {
  0% {
    opacity: 0;
    transform: translateX(35px) scale(0.92);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.quick-metric-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.65rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #475569;
  transition: all 0.28s ease;
}

.quick-metric-pill:hover {
  background: #ffffff;
  border-color: var(--color-teal, #2A6F6D);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(42, 111, 109, 0.12);
}

.quick-metric-pill i {
  color: var(--color-teal, #2A6F6D);
  font-size: 1.05rem;
  transition: transform 0.25s ease;
}

.quick-metric-pill:hover i {
  transform: scale(1.2);
}

.quick-metric-pill strong {
  color: var(--color-indigo, #1F2937);
}

/* Detail Section Blocks */
.detail-section-block.block-slide-in {
  opacity: 0;
  animation: detailBlockSlide 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes detailBlockSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.detail-section-block {
  margin-bottom: 1.6rem;
}

.detail-block-heading {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--color-indigo, #1F2937);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.detail-block-heading i {
  color: var(--color-teal, #2A6F6D);
  font-size: 1.1rem;
}

.detail-overview-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #475569;
}

/* Check Grid & Sliding Option Chips */
.detail-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
}

.detail-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: #334155;
  font-weight: 600;
  transition: transform 0.25s ease, color 0.25s ease;
  opacity: 0;
}

.detail-check-item.slide-chip-left {
  animation: checkChipSlideLeft 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.detail-check-item.slide-chip-right {
  animation: checkChipSlideRight 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes checkChipSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px) scale(0.92);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes checkChipSlideRight {
  0% {
    opacity: 0;
    transform: translateX(40px) scale(0.92);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.detail-check-item:hover {
  transform: translateX(5px);
  color: var(--color-teal, #2A6F6D);
}

.detail-check-item i {
  color: #10b981;
  font-size: 0.95rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.detail-check-item:hover i {
  transform: scale(1.3);
}

/* Bullet List for Benefits */
.detail-bullet-list {
  display: grid;
  gap: 0.6rem;
}

.detail-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.55;
  transition: transform 0.25s ease, color 0.25s ease;
  opacity: 0;
  animation: bulletItemSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bulletItemSlide {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.detail-bullet-item:hover {
  transform: translateX(4px);
  color: var(--color-indigo, #1F2937);
}

.detail-bullet-item i {
  color: var(--color-teal, #2A6F6D);
  font-size: 0.45rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Action Bar & CTA Button */
.detail-action-bar {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
}

.detail-action-bar.btn-slide-in {
  animation: btnSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes btnSlideUp {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.92);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn-detail-book {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, var(--color-teal, #2A6F6D) 0%, #1f5654 100%);
  color: #ffffff;
  font-weight: 750;
  font-size: 0.96rem;
  padding: 0.85rem 1.75rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 20px rgba(42, 111, 109, 0.3);
}

.btn-detail-book:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(42, 111, 109, 0.42);
  background: linear-gradient(135deg, #1f5654 0%, var(--color-teal, #2A6F6D) 100%);
}

.btn-detail-book i {
  transition: transform 0.3s ease;
}

.btn-detail-book:hover i {
  transform: scale(1.2) rotate(-8deg);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(224, 242, 241, 0.9));
  color: var(--color-text, #334155);
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid rgba(42, 111, 109, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(42, 111, 109, 0.08), transparent 45%);
  pointer-events: none;
}

/* Scroll reveal for remaining page sections and their content cards. */
.google-review-card:not(.revealed),
.clinical-gallery-card:not(.revealed),
.faq-accordion-item:not(.revealed),
.contact-quick-card:not(.revealed),
.location-item-card:not(.revealed),
.booking-card:not(.revealed),
.footer-section:not(.revealed) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Directional motion for Get in Touch cards. */
#contact .contact-quick-card.contact-motion-left,
#contact .contact-quick-card.contact-motion-top,
#contact .contact-quick-card.contact-motion-bottom,
#contact .contact-quick-card.contact-motion-right {
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.75s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  transition-delay: var(--contact-card-delay, 0ms);
  will-change: transform, opacity;
}

#contact .contact-quick-card.contact-motion-left {
  transform: translate3d(-180px, 0, 0) scale(0.75) rotate(-8deg);
}

#contact .contact-quick-card.contact-motion-top {
  transform: translate3d(0, -150px, 0) scale(0.75) rotate(6deg);
}

#contact .contact-quick-card.contact-motion-bottom {
  transform: translate3d(0, 150px, 0) scale(0.75) rotate(-6deg);
}

#contact .contact-quick-card.contact-motion-right {
  transform: translate3d(180px, 0, 0) scale(0.75) rotate(8deg);
}

#contact .contact-quick-card.card-slide-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

/* Directional motion for Clinic Details and Book Consultation. */
#contact .location-item-card.clinic-motion-left,
#contact .location-item-card.clinic-motion-right,
#contact .booking-card.clinic-motion-left,
#contact .booking-card.clinic-motion-right {
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.75s ease,
    box-shadow 0.35s ease;
  transition-delay: var(--clinic-card-delay, 0ms);
  will-change: opacity, transform;
}

#contact .location-item-card.clinic-motion-left,
#contact .booking-card.clinic-motion-left {
  transform: translate3d(-220px, 40px, 0) scale(0.82) rotate(-6deg);
}

#contact .location-item-card.clinic-motion-right,
#contact .booking-card.clinic-motion-right {
  transform: translate3d(220px, 40px, 0) scale(0.82) rotate(6deg);
}

#contact .location-item-card.card-slide-revealed,
#contact .booking-card.card-slide-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

.google-review-card:nth-child(2),
.clinical-gallery-card:nth-child(2),
.faq-accordion-item:nth-child(2),
.contact-quick-card:nth-child(2) {
  transition-delay: 0.1s;
}

.google-review-card:nth-child(3),
.clinical-gallery-card:nth-child(3),
.faq-accordion-item:nth-child(3),
.contact-quick-card:nth-child(3) {
  transition-delay: 0.2s;
}

.google-review-card:nth-child(4),
.clinical-gallery-card:nth-child(4),
.faq-accordion-item:nth-child(4),
.contact-quick-card:nth-child(4) {
  transition-delay: 0.3s;
}

.google-review-card:nth-child(5),
.faq-accordion-item:nth-child(5) {
  transition-delay: 0.4s;
}

.google-review-card:nth-child(6),
.faq-accordion-item:nth-child(6) {
  transition-delay: 0.5s;
}

.google-review-card:nth-child(7) {
  transition-delay: 0.6s;
}

.google-review-card:nth-child(8) {
  transition-delay: 0.7s;
}

.location-item-card:not(.revealed),
.booking-card:not(.revealed) {
  transition-delay: 0.15s;
}

.footer-upper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: 1px solid rgba(42, 111, 109, 0.14);
  padding-bottom: 2.5rem;
  margin-bottom: 2rem;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-teal, #2a6f6d);
  transition: text-shadow 0.35s ease, transform 0.35s ease;
  display: inline-block;
  margin: 0;
}

.footer-brand:hover .footer-brand-title {
  text-shadow: 0 0 18px rgba(42, 111, 109, 0.3);
  transform: translateY(-1px);
}

.footer-brand-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-top: 0.35rem;
  margin-bottom: 0;
  font-family: var(--font-sans);
  transition: color 0.3s ease;
}

.footer-brand:hover .footer-brand-subtitle {
  color: var(--color-teal, #2a6f6d);
}

.footer-vedika-brand img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-vedika-brand:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  flex-wrap: wrap;
  flex: 0 0 auto;
  font-family: var(--font-sans);
}

.footer-link {
  color: #475569;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal, #2a6f6d);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover {
  color: var(--color-teal, #2a6f6d);
  transform: translateY(-2px);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-lower {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
}

.footer-copy {
  margin: 0;
  color: #64748b;
}

.footer-disclaimer {
  max-width: 580px;
  margin: 0;
  line-height: 1.55;
  text-align: right;
  color: #64748b;
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  .footer-lower {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {

  .hero-container,
  .about-grid,
  .contact-grid,
  .clinical-duo-grid,
  .milestones-awards-grid,
  .precision-grid,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 640px) {

  .grid-3,
  .precision-feature-list {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .qualifications-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   GOOGLE REVIEWS SECTION
   ===================================================== */
.google-reviews-section {
  padding: 4.5rem 0;
  background-color: #f8fafc;
}

.google-reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.gr-header-left {
  flex: 1;
  min-width: 0;
}

.gr-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gr-overall-rating-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.gr-rating-big {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.gr-stars-flex {
  display: flex;
  gap: 3px;
  color: #fbbc04;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.gr-rating-count {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

/* Carousel Outer Container */
.google-reviews-carousel-wrap {
  position: relative;
  padding: 0 0.25rem;
}

/* Navigation Buttons */
.gr-carousel-nav {
  position: absolute;
  top: calc(50% - 15px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.95rem;
}

.gr-carousel-nav:hover {
  background: rgba(15, 23, 42, 0.92);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.gr-carousel-nav.gr-nav-prev {
  left: -18px;
}

.gr-carousel-nav.gr-nav-next {
  right: -18px;
}

.gr-carousel-nav.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Cards Track */
.google-reviews-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.25rem 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.google-reviews-track::-webkit-scrollbar {
  display: none;
}

.google-reviews-track.dragging {
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

/* Individual Review Card */
.google-review-card {
  flex: 0 0 310px;
  width: 310px;
  min-width: 310px;
  max-width: 310px;
  min-height: 240px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.google-review-card>div {
  width: 100%;
  box-sizing: border-box;
}

.google-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.btn-view-google-reviews {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.btn-view-google-reviews:hover {
  color: var(--color-teal);
  border-color: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42, 111, 109, 0.14);
}

.btn-view-google-reviews svg {
  width: 16px;
  height: 16px;
  color: var(--color-teal);
}

/* Author Header */
.gr-author-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.gr-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.gr-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

.gr-author-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.gr-author-name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gr-verified-check {
  flex-shrink: 0;
}

.gr-subline {
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.1rem;
  white-space: nowrap;
}

.google-logo-text {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

/* Stars Row */
.gr-stars-row {
  display: flex;
  gap: 0.2rem;
  color: #fbbc04;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

/* Review Text */
.gr-review-text {
  font-size: 0.91rem;
  color: #334155;
  line-height: 1.55;
  word-break: break-word;
}

/* Pagination Dots */
.gr-dots-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 1.25rem;
}

.gr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}

.gr-dot.active {
  background: #1a73e8;
  width: 22px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 1200px) {
  .google-review-card {
    flex: 0 0 calc(33.333% - 0.85rem);
  }
}

@media (max-width: 900px) {
  .google-review-card {
    flex: 0 0 calc(50% - 0.65rem);
  }

  .gr-carousel-nav.gr-nav-prev {
    left: -10px;
  }

  .gr-carousel-nav.gr-nav-next {
    right: -10px;
  }
}

@media (max-width: 600px) {
  .google-review-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .gr-carousel-nav {
    display: none;
  }

  .google-reviews-header {
    align-items: flex-start;
  }
}

/* =====================================================
   PHILOSOPHY / QUOTE CALLOUT SECTION
   ===================================================== */
.philosophy-section {
  position: relative;
  background-color: var(--color-indigo);
  color: var(--color-white);
  text-align: center;
  padding: 6rem 1.5rem;
  overflow: hidden;
}

.philosophy-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(42, 111, 109, 0.4), var(--color-indigo), #0f172a);
  opacity: 0.85;
  pointer-events: none;
}

.philosophy-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.philosophy-quote-icon {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
  opacity: 0.9;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3));
}

.philosophy-text {
  font-size: 2rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  margin-bottom: 3rem;
  max-width: 900px;
  color: #F8FAFC;
  text-shadow: 0 2px 20px rgba(15, 23, 42, 0.25);
}

.philosophy-text .italic {
  font-style: italic;
  font-weight: 400;
}

.philosophy-text .text-sage {
  color: #D4F1EF;
}

.philosophy-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2.25rem;
  width: 100%;
  max-width: 750px;
  flex-wrap: wrap;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-gold);
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.25rem;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .philosophy-text {
    font-size: 1.4rem;
  }

  .philosophy-container {
    padding: 2.5rem 1.25rem;
  }

  .metric-divider {
    display: none;
  }

  .philosophy-metrics {
    gap: 1.5rem;
  }
}

/* =====================================================
   RESEARCH & ACADEMIC ACHIEVEMENTS SECTION
   ===================================================== */
.achievements-section {
  background-color: #f7fafc;
  padding: 7.5rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.text-center-wrapper {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-indigo);
  margin: 0.5rem 0 1rem 0;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.academic-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3.5rem;
}

@media (max-width: 900px) {
  .academic-layout {
    grid-template-columns: 1fr;
  }
}

.book-card {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 24px;
  border: 2px solid rgba(42, 111, 109, 0.12);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.book-card-watermark {
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  opacity: 0.04;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.book-card-watermark svg {
  width: 180px;
  height: 180px;
}

.book-card:hover .book-card-watermark {
  opacity: 0.08;
}

.book-card-content {
  position: relative;
  z-index: 2;
}

.badge-featured-book {
  background-color: var(--color-gold);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 6px rgba(212, 175, 55, 0.2);
  margin-bottom: 2rem;
}

.featured-book-icon {
  width: 14px;
  height: 14px;
}

.book-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-indigo);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.book-desc {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.book-footer {
  margin-top: auto;
  border-top: 1px solid #f3f4f6;
  padding-top: 2rem;
  width: 100%;
}

.book-learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

.book-learn-more-btn:hover {
  color: var(--color-indigo);
}

.book-learn-more-btn .arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.book-learn-more-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Publications / Highlights List */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.publication-item-card {
  background-color: #ffffff;
  padding: 1.75rem;
  border-radius: 1rem;
  border: 2px solid rgba(42, 111, 109, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.publication-item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.pub-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-teal);
}

.pub-icon-box svg {
  width: 26px;
  height: 26px;
}

.bg-pub-teal {
  background-color: var(--color-light-teal);
}

.bg-pub-sage {
  background-color: rgba(165, 200, 202, 0.18);
}

.bg-pub-gold {
  background-color: rgba(212, 175, 55, 0.08);
  color: var(--color-gold);
}

.pub-text-box {
  display: flex;
  flex-direction: column;
}

.pub-card-title {
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--color-indigo);
  margin-bottom: 0.15rem;
}

.pub-card-desc {
  font-size: 0.9375rem;
  color: #6b7280;
  font-weight: 300;
  line-height: 1.5;
}

.achievements-section .book-card,
.achievements-section .publication-item-card {
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
  will-change: opacity, transform;
}

.achievements-section .book-card {
  transform: translateX(-70px) translateY(20px) scale(0.96);
}

.achievements-section .publication-item-card {
  transform: translateX(70px) translateY(20px) scale(0.96);
}

.achievements-section .publication-item-card:nth-child(2) {
  transition-delay: 0.1s;
}

.achievements-section .publication-item-card:nth-child(3) {
  transition-delay: 0.2s;
}

.achievements-section .book-card.revealed,
.achievements-section .book-card.active,
.achievements-section .book-card.is-visible,
.achievements-section .publication-item-card.revealed,
.achievements-section .publication-item-card.active,
.achievements-section .publication-item-card.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

.achievements-section .book-card-content,
.achievements-section .publication-item-card>* {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.achievements-section .book-card.revealed .book-card-content,
.achievements-section .book-card.active .book-card-content,
.achievements-section .book-card.is-visible .book-card-content,
.achievements-section .publication-item-card.revealed>*,
.achievements-section .publication-item-card.active>*,
.achievements-section .publication-item-card.is-visible>* {
  opacity: 1;
  transform: translateY(0);
}

.achievements-section .book-card-content {
  transition-delay: 0.25s;
}

.achievements-section .publication-item-card>*:nth-child(1) {
  transition-delay: 0.25s;
}

.achievements-section .publication-item-card>*:nth-child(2) {
  transition-delay: 0.35s;
}

/* =====================================================
   CLINICAL GALLERY SECTION
   ===================================================== */
.clinical-gallery-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #FAF9F6 0%, #F1F5F9 100%);
  position: relative;
  overflow: hidden;
}

.clinical-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 2.5rem;
}

@media (max-width: 1024px) {
  .clinical-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .clinical-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.clinical-gallery-card {
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(42, 111, 109, 0.15);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.clinical-gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(42, 111, 109, 0.18);
  border-color: var(--color-teal);
}

.clinical-gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #0f172a;
}

.clinical-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.clinical-gallery-card:hover .clinical-gallery-img {
  transform: scale(1.06);
}

.clinical-gallery-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.clinical-gallery-card:hover .clinical-gallery-zoom-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.clinical-gallery-card:hover .gallery-zoom-icon {
  transform: scale(1);
}

.clinical-gallery-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.clinical-gallery-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  margin-bottom: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.clinical-gallery-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.clinical-gallery-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.clinical-gallery-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.clinical-gallery-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  background: rgba(42, 111, 109, 0.08);
  color: var(--color-teal);
  border: 1px solid rgba(42, 111, 109, 0.12);
}

/* Lightbox Modal */
.image-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox-container {
  max-width: 900px;
  width: 100%;
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.image-lightbox-modal.active .image-lightbox-container {
  transform: scale(1);
}

.image-lightbox-img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.image-lightbox-caption {
  padding: 1.5rem 2rem;
  background: #ffffff;
}

.image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  border-radius: 50%;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}

.image-lightbox-close:hover {
  background: rgba(220, 38, 38, 0.9);
}

/* =====================================================
   WHY PATIENTS CHOOSE SECTION
   ===================================================== */
.why-choose-section {
  background: #ffffff;
  padding: 6rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Centered Header */
.why-choose-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}

.why-choose-main-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-indigo);
  line-height: 1.15;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.why-choose-name-accent {
  color: var(--color-teal);
  font-style: italic;
}

.why-choose-accent-bar {
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-gold));
  margin: 1.25rem auto;
}

.why-choose-intro-text {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 600px;
  text-align: center;
}

/* Reason Cards Grid */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-main-title {
    font-size: 2.25rem;
  }
}

/* Individual Reason Card */
.wc-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* Trust-card scroll reveal with directional sliding */
.wc-card {
  opacity: 0;
  will-change: opacity, transform;
  transition: transform 0.85s cubic-bezier(0.2, 0.9, 0.3, 1),
    opacity 0.8s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* Directional initial offsets */
.wc-card.wc-slide-from-left {
  transform: translate3d(-140px, 25px, 0) scale(0.92);
}

.wc-card.wc-slide-from-bottom {
  transform: translate3d(0, 80px, 0) scale(0.92);
}

.wc-card.wc-slide-from-right {
  transform: translate3d(140px, 25px, 0) scale(0.92);
}

/* Fallbacks for nth-child if class is not present */
.wc-card:not([class*="wc-slide-from-"]):nth-child(1) {
  transform: translate(-60px, 0);
}

.wc-card:not([class*="wc-slide-from-"]):nth-child(2) {
  transform: translate(0, -60px);
}

.wc-card:not([class*="wc-slide-from-"]):nth-child(3) {
  transform: translate(0, 60px);
}

.wc-card:not([class*="wc-slide-from-"]):nth-child(4) {
  transform: translate(60px, 0);
}

.wc-card:not([class*="wc-slide-from-"]):nth-child(5) {
  transform: translate(-60px, 0);
}

.wc-card:not([class*="wc-slide-from-"]):nth-child(6) {
  transform: translate(0, -60px);
}

.wc-card:nth-child(2),
.wc-card:nth-child(5) {
  transition-delay: 0.1s;
}

.wc-card:nth-child(3),
.wc-card:nth-child(6) {
  transition-delay: 0.2s;
}

.wc-card.revealed,
.wc-card.active,
.wc-card.is-visible,
.wc-card.wc-slide-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

.wc-card:hover {
  transform: translateY(-6px) scale(1.015) !important;
  box-shadow: 0 16px 36px rgba(42, 111, 109, 0.12) !important;
  border-color: rgba(42, 111, 109, 0.3) !important;
}

/* Icon Box */
.wc-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.wc-card:hover .wc-card-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
}

.wc-card-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.wc-icon-teal {
  background: rgba(42, 111, 109, 0.1);
  color: var(--color-teal);
}

.wc-icon-gold {
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-gold);
}

.wc-icon-sage {
  background: rgba(165, 200, 202, 0.2);
  color: #2A6F6D;
}

/* Card Body */
.wc-card-body {
  display: flex;
  flex-direction: column;
}

.wc-card-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--color-indigo);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.wc-card-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
}

/* =====================================================
   FAQ ACCORDION SECTION
   ===================================================== */
.faq-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(245, 252, 251, 0.65), rgba(255, 255, 255, 0.98));
  position: relative;
  overflow: hidden;
}

.faq-container {
  max-width: 940px;
  margin: 0 auto;
}

.faq-accordion-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1.5px solid rgba(42, 111, 109, 0.18);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Alternating slide reveal for FAQ cards */
.faq-accordion-item {
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  will-change: opacity, transform;
}

.faq-accordion-item.faq-slide-left:not(.revealed):not(.is-visible) {
  opacity: 0 !important;
  transform: translate3d(-320px, 25px, 0) rotate(-4deg) scale(0.85) !important;
}

.faq-accordion-item.faq-slide-right:not(.revealed):not(.is-visible) {
  opacity: 0 !important;
  transform: translate3d(320px, 25px, 0) rotate(4deg) scale(0.85) !important;
}

.faq-accordion-item.revealed,
.faq-accordion-item.is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

.faq-accordion-item:hover {
  border-color: var(--color-teal, #2A6F6D);
  box-shadow: 0 12px 35px rgba(42, 111, 109, 0.12);
  transform: translateY(-2px);
}

.faq-accordion-header {
  width: 100%;
  padding: 1.4rem 1.75rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  cursor: pointer;
  text-align: left;
  outline: none;
  font-family: inherit;
}

.faq-question-title {
  font-size: 1.12rem;
  font-weight: 750;
  color: var(--color-indigo, #1F2937);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.faq-accordion-item:hover .faq-question-title {
  color: var(--color-teal, #2A6F6D);
}

.faq-question-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(42, 111, 109, 0.12) 0%, rgba(42, 111, 109, 0.04) 100%);
  color: var(--color-teal, #2A6F6D);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-accordion-item.active .faq-question-icon {
  background: var(--color-teal, #2A6F6D);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(42, 111, 109, 0.3);
}

.faq-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--color-teal, #2A6F6D);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.faq-accordion-item.active .faq-toggle-btn {
  transform: rotate(180deg);
  background: var(--color-teal, #2A6F6D);
  color: #ffffff;
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, padding 0.35s ease;
  opacity: 0;
  padding: 0 1.75rem;
}

.faq-accordion-item.active .faq-accordion-content {
  max-height: 400px;
  opacity: 1;
  padding: 0 1.75rem 1.6rem 1.75rem;
}

.faq-answer-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
  border-top: 1px dashed rgba(42, 111, 109, 0.15);
  padding-top: 1rem;
  margin: 0;
}

/* =====================================================
   CONTACT & SOCIAL QUICK CARDS
   ===================================================== */
.contact-section {
  padding: 6rem 0;
  background: #f8fafc;
  position: relative;
}

.contact-header-section {
  text-align: center;
}

.contact-quick-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.contact-quick-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid rgba(42, 111, 109, 0.08);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  min-width: 280px;
  width: calc(50% - 1rem);
  max-width: 450px;
  text-align: left;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .contact-quick-card {
    width: 100%;
    max-width: 100%;
  }
}

.contact-quick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(42, 111, 109, 0.15);
  border-color: rgba(42, 111, 109, 0.2);
}

.quick-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(42, 111, 109, 0.06);
  color: var(--color-teal, #2a6f6d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-quick-card:hover .quick-icon-circle {
  transform: scale(1.1);
}

.contact-quick-card>div:not(.quick-icon-circle) {
  min-width: 100px;
  flex: 1;
}

.quick-card-tag {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8a99ad;
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
}

.quick-card-val {
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--color-indigo, #1f2937);
  transition: color 0.3s ease;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-family: var(--font-sans);
}

.contact-quick-card:hover .quick-card-val {
  color: var(--color-teal, #2a6f6d);
}

/* =====================================================
   CLINIC DETAILS & APPOINTMENT BOOKING GRID
   ===================================================== */
.locations-panel,
.booking-panel-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.locations-intro {
  font-size: 0.98rem;
  color: #4b5563;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  font-weight: 400;
  min-height: 2.8rem;
}

.locations-stack {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.locations-grid-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 820px) {
  .locations-grid-duo {
    grid-template-columns: 1fr;
  }
}

.location-item-card {
  background-color: var(--color-white);
  border: 1px solid rgba(42, 111, 109, 0.12);
  padding: 2.25rem 2.25rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-item-card:hover {
  box-shadow: 0 12px 30px rgba(42, 111, 109, 0.12);
  transform: translateY(-4px);
}

.loc-icon-wrapper {
  color: var(--color-teal);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.loc-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.location-item-card:hover .loc-icon-wrapper {
  transform: scale(1.15);
}

.loc-details {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.badge-area {
  font-size: 0.65rem;
  font-weight: 750;
  background-color: var(--color-gold, #d4af37);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.loc-hospital-title {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--color-indigo);
  line-height: 1.3;
}

.loc-address {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.55;
}

/* Appointment Booking Right Panel */
.booking-card {
  position: relative;
  background-color: var(--color-teal, #2a6f6d);
  color: #ffffff;
  padding: 2.25rem 2.25rem;
  border-radius: 1.5rem;
  box-shadow: 0 15px 35px -10px rgba(42, 111, 109, 0.28);
  overflow: hidden;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.glass-blob-top {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  filter: blur(50px);
}

.glass-blob-bottom {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  background-color: rgba(212, 175, 55, 0.08);
  border-radius: 50%;
  filter: blur(40px);
}

.booking-content {
  position: relative;
  z-index: 2;
}

.booking-title {
  font-size: 1.85rem;
  font-weight: 750;
  font-family: var(--font-serif);
  color: #192b38 !important;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.booking-note-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-gold, #eab308);
  flex-shrink: 0;
}

.theme-form-label {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  display: block;
  margin-bottom: 0.25rem !important;
}

.input-icon-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  z-index: 2;
}

.theme-form-input {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.16) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 0.65rem !important;
  padding: 0.55rem 0.85rem 0.55rem 2.4rem !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  outline: none !important;
  transition: all 0.25s ease !important;
  font-family: var(--font-sans);
}

.theme-form-input::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

.theme-form-input:focus {
  background-color: rgba(0, 0, 0, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15) !important;
}

select.theme-form-input option {
  background-color: #2a6f6d;
  color: #ffffff;
}

.theme-submit-btn {
  width: 100%;
  background-color: #192b38 !important;
  color: #ffffff !important;
  font-weight: 750 !important;
  font-size: 0.92rem !important;
  padding: 0.75rem 1.25rem !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
  margin-top: 0.25rem;
  font-family: var(--font-sans);
}

.theme-submit-btn:hover {
  background-color: #0f1c24 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3) !important;
}

/* =====================================================
   INTERACTIVE GOOGLE MAP SECTION & ANIMATIONS
   ===================================================== */
.contact-map-section {
  position: relative;
  opacity: 0;
  transform: translateY(45px) scale(0.97);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.contact-map-section.active,
.contact-map-section.appeared,
.contact-map-section.revealed,
.contact-map-section.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.location-map-card-wrapper {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 35px -8px rgba(42, 111, 109, 0.14), 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(42, 111, 109, 0.15);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease;
  height: 320px;
}

.location-map-card-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 55px -10px rgba(42, 111, 109, 0.3), 0 0 30px rgba(42, 111, 109, 0.15);
  border-color: rgba(42, 111, 109, 0.45);
}

.map-hover-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.55rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(42, 111, 109, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: #1f2937;
  pointer-events: none;
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.location-map-card-wrapper:hover .map-hover-badge {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 25px rgba(42, 111, 109, 0.22);
  border-color: var(--color-teal, #2a6f6d);
}

.pulse-beacon {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.pulse-beacon::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: mapBeaconPulse 1.8s infinite ease-out;
}

@keyframes mapBeaconPulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.contact-map-section:hover .map-header-icon {
  animation: mapPinBounce 0.75s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite alternate;
}

@keyframes mapPinBounce {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-6px);
  }
}

.map-directions-btn {
  transition: all 0.35s ease;
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  background: rgba(42, 111, 109, 0.08);
  border: 1px solid rgba(42, 111, 109, 0.15);
}

.map-directions-btn:hover {
  background: var(--color-teal, #2a6f6d);
  color: #ffffff !important;
}


/* Floating Card Badge Standard */
.floating-badge-card {
  position: absolute;
  bottom: 1.5rem !important;
  left: 1.5rem !important;
  right: auto !important;
  top: auto !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem !important;
  border-radius: 1rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  box-shadow: var(--shadow-lg, 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  z-index: 10 !important;
  transition: transform 0.35s ease !important;
  max-width: max-content !important;
}

.image-wrapper:hover .floating-badge-card,
.floating-badge-card:hover {
  transform: translateY(-2px) !important;
}

.badge-icon-wrapper {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  background-color: var(--color-light-teal, #e0f2fe) !important;
  color: var(--color-teal, #0284c7) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.badge-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge-card-title {
  font-size: 0.82rem !important;
  font-weight: 1500 !important;
  color: var(--color-indigo, #0f172a) !important;
  font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
  white-space: nowrap !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

.badge-card-desc {
  display: none !important;
}